package cn.itsource.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class UpdatePasswordDto {
    @NotEmpty(message = "不能为空！")
    private String oldPassword;
    @NotEmpty(message = "不能为空！")
    private String newPassword;
}
